package com.lkd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lkd.dto.OrderQueryDTO;
import com.lkd.entity.Order;
import com.lkd.report.Collect;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface OrderMapper extends BaseMapper<Order> {

    List<Order> selectOrderList(OrderQueryDTO orderQueryDTO);

    String orderCount(String start, String end);

    Double sumPrice(String start, String end);

    Integer regionCountPrice(LocalDateTime startTime, LocalDateTime endTime);

    String regionCount(LocalDateTime startTime, LocalDateTime endTime);

    Integer orderCountPrice(LocalDate begin);
}
